Objects > Adding objects to the Objects panel

 

Adding objects to the Objects panel

Dreamweaver automatically adds any files that are inside one of the subfolders in the Configuration/Objects folder to the category associated with the subfolder. For example, a file inside the Configuration/Objects/MyObjects folder would appear on the MyObjects category of the Objects panel.

Note: Although Object files can be stored in separate folders, it's important that their file names be unique. The dom.insertObject() function, for example, looks for a specified file anywhere within the Objects folder without regard to subfolders. If a file called Button.htm exists in the Forms folder and also in the MyObjects folder, Dreamweaver cannot distinguish between them.

Each Object file has an associated 18 x 18 pixel GIF image that appears in the Objects panel. The Image file must have the same base name as the Object file (for example, object.gif is associated with object.htm) to ensure that the files remain connected.

If you create a larger object image, Dreamweaver will scale it to 18 x 18 pixels. If you do not create an image for your object, a default object icon appears in the Objects panel.